var userServ = require('../service/userServ');
var that = {};
var addUser = function(req, res, callback) {
  // console.log(req.query);
  userServ.addUser(req.query, callback);
};

var findUser = function(req, res, callback) {
  userServ.findUser({}, callback);
}

that.addUser = addUser;
that.findUser = findUser;

module.exports = that;
